package com.dk.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.dk.entity.DtItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 商品所在地址 Mapper 接口
 * </p>
 *
 * @author author
 * @since 2021-12-18
 */
public interface DtItemMapper extends BaseMapper<DtItem> {
    @Select("select *from dt_item di,dt_fans df where di.sellerid= df.follow_id ${ew.customSqlSegment}")
    List<DtItem> selectByConcern(@Param(Constants.WRAPPER) Wrapper<DtItem> wrapper);

}
